Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update AdminController.php platform check #1125

Merged
merged 2 commits into from
Apr 17, 2024
Merged

Update AdminController.php platform check #1125

merged 2 commits into from
Apr 17, 2024

Conversation

mr-bryn
Copy link
Contributor

@mr-bryn mr-bryn commented Apr 17, 2024

Updated platform() checking function to use PHP's in-built php_uname() function to return machine type (eg. x86_64).

This change was made to fix platform checking when installed under the NextCloud Snap envrionment (see #1120). This code works on my deployment - Recognize installed from web UI on NextCloud Snap, running within a Proxmox virtual machine. Unfortunately I don't have the time or resources to check under other installs/architectures.

Update platform() function to instead use PHP's in-built php_uname() function to return machine type

Signed-off-by: mr-bryn <[email protected]>
@mr-bryn mr-bryn changed the title Update AdminController.php Update AdminController.php platform check Apr 17, 2024
@marcelklehr marcelklehr merged commit 5ae62c3 into nextcloud:main Apr 17, 2024
14 of 25 checks passed
@marcelklehr
Copy link
Member

💙

@mr-bryn mr-bryn deleted the platform-check-fix branch April 17, 2024 21:44
Copy link

github-actions bot commented May 2, 2024

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the reviewing process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR reviewing process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants